package com.cskaoyan.bo.promotion;

import java.util.List;

/**
 * @description:
 * @autyor:caicaicai
 */
public class CouponUpdateBo {

    /**
     * id : 13
     * name : 优惠券名称 name
     * desc : 介绍 desc
     * tag : 标签 tag
     * total : 4 优惠券数量 total
     * discount : 2 满减金额 discount
     * min : 1 最低消费 min
     * limit : 3 每人限领 limit
     * type : 0 分发类型/优惠卷赠送类型 type
     * status : 1 优惠券状态，如果是0则是正常可用；如果是1则是过期; 如果是2则是下架。',
     * goodsType : 0 商品限制类型 goods_type
     * goodsValue : [] 商品限制值 goods_value
     * timeType : 0 有效时间类型 ，如果是0，则基于领取时间的有效天数days；如果是1，则start_time和end_time是优惠券有效期；',
     * days : 5 有限期天数                      和timeType有关系
     * startTime : 2021-04-09 14:29:17 开始时间 和timeType有关系
     * endTime : 2021-04-09 14:29:20            和timeType有关系
     * addTime : 2021-04-09 14:19:36
     * updateTime : 2021-04-09 14:55:52
     * deleted : false 逻辑删除
     * daysType : 0 ？？没有优惠券兑换码code，这个又是啥
     */

    private int id;
    private String name;
    private String desc;
    private String tag;
    private String total;
    private String discount;
    private String min;
    private String limit;
    private int type;
    private int status;
    private int goodsType;
    private int timeType;
    private String days;
    private String startTime;
    private String endTime;
    private String addTime;
    private String updateTime;
    private boolean deleted;
    private int daysType;
    private List<?> goodsValue;

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDesc() {
        return desc;
    }

    public void setDesc(String desc) {
        this.desc = desc;
    }

    public String getTag() {
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag;
    }

    public String getTotal() {
        return total;
    }

    public void setTotal(String total) {
        this.total = total;
    }

    public String getDiscount() {
        return discount;
    }

    public void setDiscount(String discount) {
        this.discount = discount;
    }

    public String getMin() {
        return min;
    }

    public void setMin(String min) {
        this.min = min;
    }

    public String getLimit() {
        return limit;
    }

    public void setLimit(String limit) {
        this.limit = limit;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public int getStatus() {
        return status;
    }

    public void setStatus(int status) {
        this.status = status;
    }

    public int getGoodsType() {
        return goodsType;
    }

    public void setGoodsType(int goodsType) {
        this.goodsType = goodsType;
    }

    public int getTimeType() {
        return timeType;
    }

    public void setTimeType(int timeType) {
        this.timeType = timeType;
    }

    public String getDays() {
        return days;
    }

    public void setDays(String days) {
        this.days = days;
    }

    public String getStartTime() {
        return startTime;
    }

    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }

    public String getEndTime() {
        return endTime;
    }

    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }

    public String getAddTime() {
        return addTime;
    }

    public void setAddTime(String addTime) {
        this.addTime = addTime;
    }

    public String getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(String updateTime) {
        this.updateTime = updateTime;
    }

    public boolean isDeleted() {
        return deleted;
    }

    public void setDeleted(boolean deleted) {
        this.deleted = deleted;
    }

    public int getDaysType() {
        return daysType;
    }

    public void setDaysType(int daysType) {
        this.daysType = daysType;
    }

    public List<?> getGoodsValue() {
        return goodsValue;
    }

    public void setGoodsValue(List<?> goodsValue) {
        this.goodsValue = goodsValue;
    }
}
